﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace housingsafety.server.Entities.DataModels
{
    [Table("zm_system_config")]
    public partial class ZmSystemConfig : Repository.IEntity
    {
        [Key]
        [Column("id")]
        [StringLength(255)]
        public string Id { get; set; }
        [Required]
        [Column("name")]
        [StringLength(255)]
        public string Name { get; set; }
        [Column("value")]
        [StringLength(5000)]
        public string Value { get; set; }
        [Column("is_delete")]
        public short? IsDelete { get; set; }
        [Column("delete_on", TypeName = "timestamp(6) without time zone")]
        public DateTime? DeleteOn { get; set; }
        [Column("create_on", TypeName = "timestamp(6) without time zone")]
        public DateTime CreateOn { get; set; }
        [Column("modified_on", TypeName = "timestamp(6) without time zone")]
        public DateTime? ModifiedOn { get; set; }
        [Column("desc")]
        [StringLength(255)]
        public string Desc { get; set; }
    }
}
